import http from '@/service'

export function selectUserInfo() {
	return http.get({
		url: '/user/userinfo',
		params: { id: 1 }
	})
}

export function selectArticleList(params: any) {
	return http.get({
		url: '/article/list/web',
		params
	})
}

export function selectArticleDetail(params: any) {
	return http.get({
		url: '/article/detail/web',
		params
	})
}
